/*
 * @Author: 梁 卓
 * @Version: V1.0.0
 * @Date: 2024-02-13 17:51:31
 * @LastEditors: 梁 卓
 * @LastEditTime: 2024-02-14 09:34:29
 * @FilePath: quote.js
 * Copyright 2024 Marvin, All Rights Reserved. 
 * 2024-02-13 17:51:31
 * @Description: 
 */
import request from '@/utils/request'

// 单一品种不同地区平均价的对比
export function localPrice(productId, dateType, data) {
  // console.log('ok',data);
  return request({
      url: '/system/web/quote/multipleRegions?productId=' + productId + '&dateType=' + dateType,
      method: 'post',
      data: data
  })
}
// 单一品种不同市场平均价的对比
export function MarketPrice(productId, dateType, data) {
  return request({
      url: '/system/web/quote/multipleMarkets?productId=' + productId + '&dateType=' + dateType,
      method: 'post',
      data: data
  })
}